package com.tengju.user.application.archives.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "BatchStarAddDTO", description = "批量入星参数对象")
public class BatchStarAddDTO implements Serializable {

    /** */
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty("用户idCode列表")
    @NotNull(message = "用户列表不能为空")
    @Size(min = 1, message = "最少选择一个用户")
    private List<Long> idCodeList;
    
    @ApiModelProperty("目标星级")
    @NotNull(message = "目标星级不能为空")
    private Integer targetStarLevel;

    @ApiModelProperty("目标星级类型")
    private Integer targetStarRole;

}
